﻿@if(Request.IsAuthenticated) {
    ViewBag.Title = "GameSchool";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@if (Request.IsAuthenticated)
{
   
    <div class="Name"> Welcome @User.Identity.Name</div>
    <div class="Login">@Html.ActionLink("Log Off", "LogOff", "Account")</div>
    
}
else
{
            <div class="Login">@Html.ActionLink("Log In", "LogOn", "Account")</div>
   
}
    